package com.googlecode.payroll.util

public class RoleUtil {

    static <T> T assign(assignee, Class<T> role) {
        assignee.metaClass.mixin role
        assignee.asType role
    }
}
